package com.sxbbc.common.core.mapper.jz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.ChickenSubscribe;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxbbc.common.core.utils.BasePage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预约提鸡 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-03-27
 */
public interface ChickenSubscribeMapper extends BaseMapper<ChickenSubscribe> {

    IPage<ChickenSubscribe> selectChickenSubscribeList(BasePage<ChickenSubscribe> page, @Param("param") ChickenSubscribe detail);

    int handleSubscribeInvalidCoupon();

    List<ChickenSubscribe> selectSubscribeInvalid();
}
